package com.lcm.learn.shardingjdbctest.mapper;


import com.lcm.learn.shardingjdbctest.model.ShardConfig;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ShardConfigMapper {
    /**
     * selectByPrimaryKey
     * @param configKey
     */
    ShardConfig selectByPrimaryKey(Integer configKey);

    /**
     * selectAll
     * @param keys
     */
    List<ShardConfig> selectByKey(List<Integer> keys);
}